﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin.aspx.cs" Inherits="PlugNT.App.Bbs.Web.Topic_Admin" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>论坛板块</title>
<link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
<link href="../css/class.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>

<div class="frmstatic" style="display:block;">
    <span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
    <div class="nav_menu">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tr>
            <td align="left">
                <table>
                    <tr>
                        <td><img src="../images/main_home.gif" width="16" height="16" /></td>
                        <td><label>插件&nbsp;&gt;&nbsp;论坛管理&nbsp;&gt;&nbsp;论坛板块</label></td>
                    </tr>
                </table>
            </td>
            <td align="right">
                <table>
                    <tr>
                        <td><img src="../images/arrow_left.png" width="16" height="16" /></td>
                        <td><label><a href="./Config.aspx">论坛设置</a></label> | </td>
                        <td><label><a href="./Admin.aspx" class="sub_menu_selected">论坛板块</a></label> | </td>
                        <td><label><a href="../Article/Admin.aspx">帖子管理</a></label> | </td>
                        <td><label><a href='./Reply.aspx'>回帖管理</a><label> | </td>
                        <td><label><a href="javascript:window.history.back();" class="sub_menu">返回</a></label></td>
                    </tr>
                </table>
            </td>
          </tr>
        </table>
    </div>
    <span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</div>


<div class="frmstatic" style="display:block; margin-top:10px;">
<form id="form1" runat="server">
<span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
<div class="controls">
                    
        <asp:Repeater ID="rptStaticTemplets" runat="server" OnItemDataBound="rptStaticTemplets_ItemDataBound">
            <HeaderTemplate>
                <table class="main_table" cellpadding="0" cellspacing="1" border="0" width="100%">
                <tr align="center" class="td_title">
                    <td align="left" width="40%"><img src="../images/plugin.png" alt="" name="" width="16" height="16">&nbsp;栏目名称</td>
                    <td align="left" width="40%">论坛版主</td>
                    <td align="left" width="10%">是否绑定</td>
                    <td align="center" width="10%">操作</td>
                </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr class="td_on" onmouseover="this.className='td_off'" onmouseout="this.className='td_on'">
                <td>
                    <asp:Literal ID="litFirst" runat="server"></asp:Literal>
                    <asp:Label ID="labName" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"title") %>'></asp:Label>
                </td>
                <td align="left">                          
                        <%#DataBinder.Eval(Container.DataItem,"user_names") %>
                </td>
                <td align="left">                          
                    <%#DataBinder.Eval(Container.DataItem, "channel_id").ToString() == "" ? "X" : "√"%>
                </td>
                <td align="center">  
                    <%#DataBinder.Eval(Container.DataItem, "channel_id").ToString() == "" ? "<a href='./SetSection.aspx?t=add&id=" + DataBinder.Eval(Container.DataItem, "id") + "'>添加</a>" : "<a href='./SetSection.aspx?t=edit&id=" + DataBinder.Eval(Container.DataItem, "id") + "'>修改</a>"%>                        
                </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
            </table>
            </FooterTemplate>
        </asp:Repeater>

</div>
<span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</form>
</div>

</body>
</html>
